package com.yjha.lzmarathonsys.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 点赞记录表
 *
 * @author æ­å°
 * @email 1971240051@qq.com
 * @date 2025-05-13 15:07:07
 */
@Data
@TableName("tb_like")
@ApiModel("点赞实体类")
public class TbLike implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 点赞记录ID，主键
	 */
	@TableId
	@ApiModelProperty("点赞ID")
	private Integer id;
	/**
	 * 用户ID
	 */
	@ApiModelProperty("用户openId")
	private String userId;
	/**
	 * 点赞目标ID
	 */
	@ApiModelProperty("打卡ID")
	private String targetId;
	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createdAt;

}
